|
|
<DIV id=list>
5 f- l5 j( ^* `4 ~<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>% j+ b' ^- j& c B! ]
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
8 V, e7 d4 n& `7 M/ M<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
$ i3 V9 d- L/ c<DIV id=lrc3 style="COLOR: #666666"></DIV>
# C3 u) }+ x- N9 ^$ W5 c: p" f<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
$ J+ }+ o4 @1 T3 r/ I& U<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>7 V! G& ] \2 `( h% x) U D
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>+ |5 {1 W/ K# s9 z
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
& n5 O: | u5 H: l A& x, Q5 s1 C) C<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
0 w1 J: D* `4 C<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
- ?5 }% m5 { c<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
, W" x1 R. o0 H8 R<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>: Q5 y, |$ e% J1 f; x4 i: w
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
. q8 T2 v0 `2 W! P' l0 d6 x) N8 P<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
# T* e+ O9 q2 U, t" [1 `<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>4 ^1 D9 l. ~3 B u+ J& z3 ?6 J. P0 w
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
0 a. ~. M) d- I8 Z<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
. Z8 n3 W8 s; N* e<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
, {7 R+ A$ _1 S. x4 c! H# D<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
`/ U4 q$ a5 @' a% V) E, h* _<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
) d" @0 D& z T0 H. j* V, Y0 ~$ u<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV># Q- I. W( B* j6 u. P: o
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>3 {) o' s+ ?2 z3 k S _
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>/ n+ X, n9 T+ Y: m2 r3 z
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>+ I5 b- B+ Y8 T1 u% Q5 l
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV># i* B5 k1 w; E8 B' n( b' h
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
! `& F$ Z+ r6 C8 n5 n* w<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
u# J# z( @! g9 N/ a3 O<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>$ ] R( i: Y5 n$ Y& z2 d$ G3 v t
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>0 `0 w9 N+ e- O5 x' l2 n
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
( Q8 K, N) [) c5 i<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV># S: h; `0 H$ q3 E2 e2 z9 m5 [
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>1 g) q' J f% A8 U- Q! ^
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
8 P+ Y9 F- d# W( U0 P/ [5 {5 N<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>1 Y& b2 g S* h
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
) O/ @ k& a8 B' a1 m9 X0 h7 |<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>; E2 _& W; R7 k* d- R4 v( D
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>0 t" G \% X8 |; e: _9 Y+ v
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
4 L' l9 s- A4 V6 q1 U* a<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>- E; f ~; B+ W: F/ H. `
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV># x- Q& {7 t' D! S$ t
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
& R3 t7 z- P, ?! o8 M- B<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>! K% Y( z r. m9 V3 V" W
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>/ w; i- l5 p+ s9 L$ N
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
2 V' h S8 K( [8 x$ h<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>8 O! z0 `0 W: X2 a9 H( \* ?+ |
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>/ W; }( \, G' d, P) s: @
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>/ X( S. V/ F6 ^" B) Z
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>, u8 [+ X- K% w
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
6 ?( Y- d& V! L+ D5 w/ h<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
& O) L7 b& d" r9 t/ M# N! {<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>* q7 W0 {# y! f) {6 [2 S
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
3 t4 y* U/ m) O* l) ], V<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
. @" ^7 X9 [# b1 R' o7 |# e' d<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 ; q' |5 X- B4 u4 }, W5 |
<DIV id=lrc style="DISPLAY: none"></DIV>) ?7 W' y+ a8 Q1 Q
<SCRIPT type=text/javascript>
1 m( y8 D3 `4 Sdocument.domain="1ting.com";
3 }' T. S6 X; t/ ^var colorPasted="#666666";
7 l+ a0 L" ^7 `% L% Yvar colorPlaying="#ff3300";' O7 j+ _8 b) N# I2 u
var colorNormal="#000000";
! S; s; E7 i) Z# y/ M4 B$ = function (a,g){* |6 V' {5 D# z
var o = new Array(); " G8 H: J! w: F' n9 U6 U7 D
var c = new Array();
! r% Q1 M7 Y" r/ a var r;
) U# Y* i# \5 ?$ L+ J. d* C var u;
% M/ [7 m# [5 Z3 u var a = a.split(';'); 6 C: w: q5 j/ l* o2 \' m* C
2 _% [ M; m* {; A var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
4 P/ \- G* S k, l7 a for(var i=0;i<e.length;i++){
! q% R0 `. w& \ U. d eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
3 w n1 f7 I9 r# v5 K8 ~ }
2 j4 n! t0 t% ~- Y" p/ L; g
, [9 H6 ~6 x! y+ a% M3 R6 ?4 A after = function (t,d,s){
# B/ p* f( Z* [- H: @& W' V# S $after = function (){6 @6 r6 b0 J" m6 l: k
var $n=document.createElement(t);, X. b+ t: M$ {* S2 z
if(d!=null){
9 ^. b$ P6 W" ?3 d1 U# A+ Q: }( i+ B8 E $n.id=d;
6 x" _9 T# S4 J2 G: Y+ H }8 l) Y- Y! V$ c$ z/ y/ a7 @$ d
6 O* B) r: N7 D+ U2 G D u.insertBefore($n,null) 9 ^6 K3 o) p G3 N8 S, G
r = $n;
: P' e2 C6 _7 N' T. F* O8 P u = $n;
$ _5 J& m& e$ |+ C4 d }0 g- g1 i- k7 g5 w6 a
$for(s,"$after")7 i5 V# r$ s3 N0 s4 d0 o, A
}$ Z! t! N/ B" ~8 z$ o+ Z
5 \* A, f) j1 u+ R4 U show = function (s){4 I$ j" ~- S# ^% L* [: v( |. @
$show = function (){
: j2 x1 t- i: x: ~1 c. _( ` u.style.display!="none" ? style("display:none") : style("display:block") ;
) l f( R7 R/ A6 O1 _: _9 J# b: G }
* K y! D7 M5 a1 U. E' y $for(s,"$show")
7 L f# V. I7 |) ?, d }5 Z1 p: y& ]! U& e8 b
* Y" m0 d# W$ x k* _8 o# i
check = function (t,s){
0 ]4 ]7 A6 t& Q6 Q& w" B $check = function (){
; ]; J$ t O& D5 p8 y5 P4 O if(t=="2"){
: G0 T+ a- S4 G* t if(u.checked){
) T7 u0 @" w# d7 l# n u.checked = false;- B. Q# r/ w1 J( Q
}else{
7 e- z/ K$ [: V, a7 W u.checked = true;
- K# O) C" p' [ }
- _" }& m: H' b }else{
; j2 y- C0 J, I r u.checked = t*1 ;
4 _ q" S6 W! Z. y$ x }7 E; V5 ~/ ], b* ~+ R2 e; x: A1 ^
}
' V" a# X$ o. a, L, C* [ $for(s,"$check")
( U, q! U, K$ u, |/ W }; n7 x* q. h6 X" M m
2 M I7 `+ w4 l, ~) `7 s
style = function (v,s){6 {, u( n: w" ~# }, ~& J) D' k) H& V
$style = function (){* K, l ?* [4 x3 O( Q; G
var $n = v.split(",")
( R) Z2 x* x0 f5 F6 i7 J! [ for (var i=0;i<$n.length;i++ ){
$ ?7 T! `: V( @1 @: {+ [5 J var $m = $n<i>.split(":")
* j$ ?2 w; B! f& D eval("u.style."+$m[0]+"='"+$m[1]+"'");5 g: _+ U4 H: x; P
}
, y: J# s9 `* i q$ X }
+ N$ C; t! W: B7 v+ S! u+ }) f; X $for(s,"$style")
' a \: `" n( `7 e9 C8 Z }, U6 s% ^* I" z7 d4 f- u2 @
' j5 f5 R$ l& `" T U
value = function (v,s){
% h2 L9 f5 v( S# ~/ J) x var $n= $this (v);6 Q7 L# G, [, t( b9 [( g' n
$value = function (){" d `; e7 s' c% y) w3 h
u.value = $n
! w7 @" ]9 J! o1 A& V+ V }: K5 u. ?" T e. K( E# m; ?
$for(s,"$value")
8 l5 O6 R# i7 a7 O# X }$ s4 t( |* U9 p# `" k! { }5 h
6 I! u( L7 @1 [
text = function (v,s){9 r. E* Y7 G Z: o" {
var $n= $this (v);
. ~/ T2 b# t& ~/ L, I8 M $text = function (){
. n9 o0 m" O6 s! a$ u 9 O8 M n4 p& d% B0 D
u.text = $n
' u9 k, a2 f1 p+ | }) n# x6 j9 O# O$ }/ u1 w
$for(s,"$text") : Q8 }( y* u3 f
}( O% I/ ]( C7 f9 k; f0 e
8 j* `5 d, T9 w1 g% N; G5 Z
innerhtml = function (v,s){
* X2 S0 U$ h6 O var $n= $this (v);( I( G. a S0 T* U) W
$innerhtml = function (){
, j% s+ S3 z1 R R5 b0 _# E u.innerHTML = $n' J1 a: |: y9 k( I# w
}, y ]2 X4 B# [ j0 b9 I' B
$for(s,"$innerhtml")* ]: {! V$ T" l& D, H
}9 }7 b$ X( J o) ^
0 z. v! ~, ?7 a0 w
removechild = function (s){, ]' h+ u' [1 W* g2 C" e
$removechild = function (){$ _* z4 ^3 B3 w, E9 [! J! b
u.parentNode.removeChild(u)3 ~ C7 a0 ?2 q! K+ ]7 c/ E, f
}
( T9 g) {( E; L $for(s,"$removechild"): k$ w' p, D9 W4 Z% |! N
}
( V8 V: R0 }/ {' T! g' P4 J4 Q$ F* g1 d7 O/ t2 W' m: X) O0 x
$this =function(v){! b0 c0 ^6 x. v8 y4 n
if(v.indexOf("this") == 0){
( t( o1 D6 h0 x, ?9 ^ return eval(v.replace("this","u"))+ n1 j1 z7 \" U
}5 C- k% V+ a' [+ j; X
return v;0 l. X) l/ P) J8 k3 I
}; e0 L& Q9 Z- s1 f# g! N
6 H! y- N: r: I. K8 O) ?
$event = function (s){( x6 a% C0 y6 \' \, m
var $n ="u."+s+" = function(){$work(this,s);}"
7 D6 I3 F4 V+ _% l; r- v% v return $n;$ |9 O' ^ v2 d6 k
}8 w! ~+ ~: Y! | H+ t, ~
- b. `, `' g) y1 v $replace = function (s){
8 L4 u, B* Q, G# z* i+ j( {' v$ D, P t L* f7 Z! i' X7 E& ?
}
' V) ~: ^; ~% B/ E+ D/ i
. L8 O9 K8 @4 m* x( [* `5 [; p! O $for = function (s,c){6 H9 b: ^$ h9 s# _# r4 L. \
var $n="this."+c+"()" ;* z' k4 P. P- R% v- n
if(s!=null){$ D' ^! g2 V2 l- V$ @7 |+ A' o
var $m =$test(s);' G6 w3 n5 F( x! C; Z
for (var i=0;i<$m.length ;i++ ){
0 i. T9 a! h5 ?& o9 _ R u = $m<i>;: [, T' p, h- n) Q8 t; e" f& \9 v# p
eval($n);; G( x' C+ @: a, W. a
}
/ o7 r' Y+ @8 Y' U; L4 p }" L/ h$ K4 h% d. u5 `
else{$ V; I) A* U0 T5 q; u
eval($n);
3 v6 ^! x( z, u& F4 { }( c3 Z5 H! i( J" V9 C5 M' Q
}/ Y9 h) I8 i6 k# [0 C1 p
, O( l- w+ V! x, I' o9 e $test = function (a){
7 y1 q! w) C: y4 | var o = new Array();$o(a.split(';'),o);
y+ V7 x5 K1 a5 U return o;- S& s8 W- I# j& }) X3 t% @
}( W/ @! y% Z0 ~/ \8 H
) D# C, B' I" o z% F7 S
$format = function(s){
3 u4 B4 F8 C, ^- q: g! p while (s.indexOf("'")>0){, Q# E/ P% X6 p! _& s9 w5 c/ w
s=s.replace("'","\"");
0 p# d5 L d" w. [! K | }* K5 A" X. R& D- e. A6 i" P
while (s.indexOf("][")>0){2 N: \) K, }% w/ `8 B. `; W) z
s=s.replace("][","','")( z9 q; `8 U( m) ^0 Y
}$ W7 `) H" |/ B' Z$ j& M' D" Z7 b
while (s.indexOf("[")>0){
J. m! w+ A7 {* a5 p s=s.replace("[","'").replace("]","'"): m# T+ t& Y' h8 i" y
}
& _$ t! W1 X) X) J8 m( Q! q! { return s;
0 j- V' F9 O8 B D; G) { }
$ p' g; U& a1 r& E4 ?' h# m v+ k1 {6 ]; |' z: k: J) W
$work = function(w,s){
% ^8 {! {1 ~+ c/ C u=w;eval(s)5 t6 \" g2 w# a6 S
}
, @9 K& b9 w4 N" v [9 C
' z2 u3 Q+ s' `( z% i $id = function (s){4 [+ _& {9 S e5 S' R* H/ T
return document.getElementById(s);
4 o0 W+ d6 m( U$ v }0 z' P2 c; j$ `3 \
4 x- s5 d1 L6 ?/ N
$name = function (s){
) Y- B. u! u) { R# }5 U return document.getElementsByName(s);- T7 f- O$ v" d2 u3 M( r& l# G- z
}
& d+ `4 H/ k! N; i
; M7 Z: z, b/ e; j/ P $tagname = function (s){( l+ [' v% F6 m! k
return document.getElementsByTagName(s);4 h* E/ o4 _* O \; v
}9 P" s2 C+ u: G5 \ U, c
[2 Z, H9 v( b6 w $o = function (a,o,c){! z1 t5 w. Q. O; ?7 p4 U- N- N
$push = function (n) {) v% j( ^* }0 N* N' I$ w& m
for (var i=0;i< n.length;i++ ){$ Z+ {5 V+ e r. B
o.push(n<i>);
2 {0 k5 J5 Y5 C; T# [ }
4 }. ~# `" ]; @4 I+ J }
9 f5 D7 `6 Q9 G h' X+ ^: @) p for(var i=0;i<a.length;i++){7 w- l% j+ B* e! A. k$ R; x
if(a<i>.indexOf("(") >= 0){
4 k& w/ B+ h) V* }2 v c.push(a<i>);8 M4 _. G2 i3 p# u$ w5 ]# g2 ], p
}8 ]0 |1 Q, M7 t
if(a<i>.indexOf("~") > 0){
7 r+ G' X8 z% o6 X# \1 { try {
( Z" _. T/ u( T; h* L* M/ [8 H $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
* q# e8 u% j2 s* b& J' v }catch(e)* G F6 L4 `- H8 z( v$ d
{}
* W; x: \0 E w# ~4 V6 @ }
( t3 \6 N% M, u* Y* g# j& I9 l else{
' h; b6 y7 H* E4 V4 C if(a<i>.indexOf("#")==0){
. U9 U" A3 y3 V* g o.push($id(a<i>.replace("#","")));* S- f. K2 V' J1 y4 N9 n6 j* R- D
}
5 i# {+ S: P, V& K) M m if(a<i>.indexOf(".")==0){
1 q2 {- ~; J/ B4 V! E$ C+ j $push($name(a<i>.replace(".","")));2 ^- F9 O8 o, ~+ _( {
}* q0 K7 M2 i' z9 C! N; H, G
if(a<i>.indexOf("@")==0 ){
2 n" s& }! d% D& t6 o5 F3 b( ]9 z $push($tagname(a<i>.replace("@","")));4 F6 p0 w$ y& w0 O" H c
}
& m3 E/ C: g! d( x& E8 w if(a<i>.indexOf("*")==0){
) A: x% Y, M7 _/ q2 Z( ]8 F $p= a<i>;. D& ?/ F* d C4 X
if($p.indexOf(".")< 0){
+ X! Y" V( V4 I9 ~) K $p = $p.replace("parent","parentNode")
8 G8 n7 b5 _4 F0 W0 K }% O& o! H2 \1 r8 V+ ?- a
var $p ="u."+$p.replace("*","");
: [ p( t( ^& t! S while ($p.indexOf("parent.")> 0){
Y9 H ]# E8 S' Q0 C- R F $p = $p.replace("parent.","parentNode.")) |( S9 m- u, C
}
- { v$ {! I% D1 e while ($p.indexOf("child{")> 0){
, F6 }; f, C- N- c! L $p = $p.replace("child{","childNodes[").replace("}","]")* I+ V0 n7 r+ w! R/ _. L
}
4 i) l- o; F& Z# _ o.push(eval($p));
! q6 b9 j8 ~% I* f) P }
+ J9 Q% q3 f& a' q/ `! { if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){7 ~! h+ c$ ~/ ~9 D& \
o.push(eval(a<i>));7 a2 W. O" w8 Q# G- g
}7 c" {9 ]" U: @. T( c
}6 y' N! Q4 @. o2 z- A) H
if(g!=null){ ) L# z: |. B5 r4 Z8 b/ D
o.push(g);g=null
3 ?6 e- k( a2 Y } : Q# z9 {- }! K% Y, J* ?
}3 Q8 ^8 X; h. `% N2 K& K
}
7 _) \+ B% Q H+ O, Q& q: z
9 y# k5 |$ [+ u1 {% t3 {- ]9 L( R $o(a,o,c);
, B6 R% ~; s7 k% ^9 N# v( a5 Y/ R: J5 z7 d( t
for(var i = 0;i<o.length;i++){
8 |3 X2 Y: l, h& L1 m- r$ D7 R6 j for(var j=0;j<c.length;j++){
: ~& _. X% E4 v c9 l* ` u = o<i>;eval($format(c[j]));
! O) S. g2 k0 J }
: w' Y$ p3 M9 R& Z# p1 l }
5 d" W9 }+ N; h8 f- P5 q+ M- f
m7 A* p' n% M6 b+ {: y& S% p' T if(o.length == 0){" H# a2 S1 v! i- B
for(var i=0;i<c.length;i++){- W7 v- C. t4 F% b4 q$ G: i6 p
eval($format(c<i>));8 R* U; a- z- T2 R- A
}: y$ W: |$ K' J; O5 Z
}
' P, P8 M9 y3 c4 O2 D# r% ]7 X
7 v2 T+ l @- @" b( n9 O R if(r!=null){& a% y" C: v% n- c) j
return r;0 a: }4 j9 m( d3 Z2 e0 l+ v
}
6 {5 x: b% M% E' p: d5 F4 z1 A0 j 0 f& \# J$ [/ F- V: ~5 b
if(o.length==1){
: ]6 L% ?1 p4 D( l; t; v return o[0];8 Q( ?% v6 O5 f' \# l/ U
}
" p# K5 s* y& r- f" l; ` else{- x4 T# R. ?$ W0 h+ v
return o
' x$ `5 c/ N2 i) N( l } 8 Q5 u, d" ~; q" |( L. p8 W# F
& ]6 X' `3 u7 h$ d6 S }
- Y7 M: Z2 f8 L$ H; N0 }1 Y1 Jvar lrc =$("#lrc;show()").innerHTML.split("[");
: Y4 y! Q: [2 Jif(lrc.length>5){
, w% f8 w$ |+ u6 T( ^( ?var array = new Array();2 x! V, L, I- K0 b) D# I( L) S% K
for (var i=0;i<lrc.length ;i++ )
7 ^6 N9 e# W* |0 m8 R' k{
/ a0 T z* ?4 ]! l* [" B8 D% m var g = new Object();3 A0 B, S1 Z" u- J0 E$ M
t= lrc<i>.split("]");
: ~" t0 n% M; l& `: q g.time = getTime(t[0]);( c* d8 m6 }1 Y$ j0 w
if(isNaN(g.time))
/ s. W5 ^/ h+ c u( p continue;1 Z* [ z5 ?, u+ A6 y w' U
g.c = t[1]; l F) r' @- f# c
if(g.c == "")
X5 M$ g/ K7 G; V5 I+ B g.c = getNext(i);
& @0 E2 Q' _+ y( ~! `$ a! d array.push(g);, h5 @/ O$ h1 I3 W' ~* D c/ T
}0 b( E* M' \+ _5 h$ x7 O
array.sort(function(x, y) { R% y) U/ U: ^6 E" O3 G7 p
if (x.time>y.time)
g" ~, ]+ |% `' ]) f return 1;! o7 C+ H- S$ X* p
else if(x.time<y.time)$ i; O; Z$ @- x
return -1;! g% J& Y e- R8 k2 A. c
else
: }) R! z7 x7 e& c2 T! C! B5 [2 e f return 0;" I" t2 l8 M3 j5 K
}
4 w) w$ w; @6 {8 A" l; z);; X! V- P* _' V7 \( q
for(var i = 0;i<array.length;i++)
. e* z* ^, w6 i% t5 |{) Z" c# D$ r5 x' d6 t8 | i
var g = array<i>;3 ]2 e9 k9 M# M9 x8 r2 C
if(!g.c){6 F9 a: f: o5 D y5 m+ y$ b
g.c="";. O! ?4 s2 \) [% R' x0 l% L1 s4 t
}1 n5 f2 s1 B9 ]9 y4 l' E/ _8 `
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
+ _, K. y, V6 `- c7 r. j8 D6 P* c}0 [ q7 K K3 i7 _# [
var time = setInterval("lrcList()",500); ( G' [+ ?. d0 H3 f5 {+ o
}else{8 D0 F! l2 J e) y# B
$("#list").innerHTML=$("#lrc").innerHTML;
" @, [+ [8 N9 g, X}1 E% A! |5 X+ s
function getNext(i)2 P' O+ V5 d) O e+ a& j
{
+ l$ x9 {% T+ |: k3 `+ g1 w. { var result = "";
' S7 h! O- E. R8 j4 N var i = i+1;* i2 M' F/ C; d) b" s# t
t = lrc<i>.split("]");$ @* c* c. _7 d+ X
if(t[1]=="")
& w" S* _3 i3 X( b: R) ~ result = getNext(i);
0 [$ Y( E0 K8 ~9 e- ^9 X else
2 s" j# D2 A! L( b! O result = t[1]
& G% @6 B* t6 w) ]. {# I. O ~4 Q5 X, p return result;
' A2 X4 a( I# _ M( O}
3 H H" y; ]" D6 ?' w
) [1 _% D! ]: p# @+ Sfunction getTime(str)
0 C, |0 N4 w4 {" d& H4 i{
) _9 d! J/ P. U5 S" l( N* r var time =0;
' i- r, V+ c- f* s3 o' l var ta = str.split(":");& E+ p) Y6 {( h4 h) N' P/ A$ U# X
if(ta.length<2)
) C; h- P5 N' ~( K2 F8 u# r: } return time;
+ t% q3 L' E& I8 N
0 P% U8 }' g2 p1 w if(ta[1].indexOf(".")>0){+ R7 r }; e4 a' H
var tb = ta[1].split(".");# @6 S3 J5 U# f5 S2 E) o% H
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;2 a: ~( t* g/ I( X
}
3 I& n. w' {* ~" U" [9 y% ?* w else/ d6 G( A# m7 H5 c
time =ta[0]*60*1000+ta[1]*1000;( \7 r, N, r. k# }' _6 E
return time;2 r" h- _: p6 _: H$ U
}4 H. Q d( K5 f) h2 M' @% s
var preTime = 0;6 B+ i# C/ c b
var nextTime = 0;
, X, p2 o8 {/ V- Kvar currIndex =0;
. D" b2 T; e3 G0 z3 D/ x4 u Efunction lrcList(){7 w- T* j- I `" I' z. ^; q) Y
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;8 R6 W0 | x, v4 V9 N1 ^7 S
s = s*1000;: c" y# x/ U3 @( I) o
if(s==0){6 p% Q, z3 O d$ B! d
currIndex =0;. g4 }! k, q: f' @- h' M
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
, R2 |% |. y( @ {4 z4 L for(var i=0;i<array.length;i++){
* N& S# U" z. f2 z: x, f9 l& Y document.getElementById("lrc"+i).style.color=colorNormal;
/ ]8 i0 d7 ^2 n+ l }9 R7 z0 {& S: H0 O( H1 m/ v# m$ t
return;
5 B) y$ Y* S8 b( ~2 j3 Q; ^* i }
, d$ a% X0 y R) o7 K6 ` if(s>0&&currIndex<array.length-1)
0 I# I$ w& I8 ?' j N( ` { ) q( n$ S% R& n6 f: V. Y
preTime = array[currIndex].time;% F* p3 k5 q. ^5 V
1 t4 X' N3 [0 @. }3 y a nextTime = array[currIndex+1].time;
. J0 c$ c4 D C# d, _. Z. [- q: W " A" C% {; h/ t2 l
if(s>=preTime&&s<nextTime){/ r. i0 C" O! t) v' y9 |
}/ i( ]! s& l; F; ]& w* ] G$ i
else if(s>=nextTime)
. Z1 {$ Q" t( w P {
, W) t. d1 y! C0 F& } document.getElementById("lrc"+currIndex).style.color=colorPasted;
+ b0 u+ k' Y: J( \5 E [: F currIndex++;: j; n6 v6 Y/ F+ U+ U2 A9 i+ A
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;5 ~ `0 d. {9 B
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
; V1 }4 v5 e7 _6 o8 S lrcList();
" A+ ]( u! a8 c& y o }" ~2 ~. h7 ]" W! g
else{
3 p9 x1 m1 Q8 V6 @/ r document.getElementById("lrc"+currIndex).style.color=colorNormal;
% c$ k% N$ h s7 d currIndex--;3 \$ i+ P9 ^2 W3 L4 R3 a1 U
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;2 f! E+ a. V. M; }4 F: s
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
: z: U2 x& G4 j! W9 f6 |" N lrcList();
" o7 Q$ f" K) W }
z4 t8 s Y: I- F) `/ H }
" [9 l* h _0 Y4 n/ G0 r else7 y9 z4 H) A1 T0 r$ \( X9 t! b
{
+ v- ?+ N0 I: |/ }- n if(s<array[array.length-1].time){
- N: j% h! r; a% ^ k/ Q% g' K! ] currIndex = 0;
$ O; v( [" j2 ~9 r $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;7 P9 c- f* F8 ~4 y
for(var i=0;i<array.length;i++){0 t, Q* s8 N! `6 {( R% _+ S% R
document.getElementById("lrc"+i).style.color=colorNormal;: W i v# h* V7 I+ d) z
}, c' M k1 h0 j
lrcList();
2 K2 A' V. h% D5 S* p }
" w: ^& _- C2 g }
: h: z8 `, t0 U3 s6 ~+ ?7 @7 J' U}
3 H( M# E% e# H% w; a2 U</SCRIPT>2 V. [$ P" n. _
</DIV></DIV>
( ]8 I7 T0 g) f) C8 W8 G" N9 |6 l! N. }$ H4 O- L
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|